﻿using Prism.Events;
using System;
using System.Collections.Generic;
using System.Security.Permissions;

namespace HlELock.Core.Events
{
    public class CommonEventArgs
    {

    }

    public class CloseDialogWindowEvent: PubSubEvent<CommonEventArgs> { }

    public class DialogWindowEventArgs
    {
        public string Title { get; set; }
        public string Uri { get; set; }
        public Dictionary<string,object> Parameters { get; set; }
    }
    public class DialogWindowEvent : PubSubEvent<DialogWindowEventArgs>
    {

    }
    public class DialogWindowBusyEventArgs
    {
        public bool IsBusy { get; set; }
        public string Descr { get; set; }
    }
    public class DialogWindowBusyEvent : PubSubEvent<DialogWindowBusyEventArgs>
    {

    }
    public class RefreshRoomListEvent : PubSubEvent
    {

    }

    public class RoomListEvent : PubSubEvent
    {

    }
    public class MainWindowEventArgs
    {
        public string UserName { get; set; }
        public bool? TitleIsShow { get; set; }
        public bool? DeviceActive { get; set; }

    }

    public class MainWindowEvent : PubSubEvent<MainWindowEventArgs>
    {

    }
    public class UsbHidOnReceivedEventArgs
    {
        public Guid Id { get; set; }
        public byte[] Datas { get; set; }

    }
    public class UsbHidOnReceivedEvent : PubSubEvent<UsbHidOnReceivedEventArgs>
    {

    }

}
